package com.lagou.rocketmq.service;

public interface OrderService {
    boolean placeOrder(Integer productId, Long userId);

    Long addOrder(Integer productId, Long userId);

    Integer getStatus(Long orderId);

    void cancelOrder(Long orderId);
}
